Optimal. Leaf size=44 \[ -\frac {2 E\left (\left .a-\frac {\pi }{4}+b x\right |2\right )}{b}-\frac {\csc ^2(a+b x) \sin ^{\frac {3}{2}}(2 a+2 b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {4385, 2719}
\begin {gather*} -\frac {2 E\left (\left .a+b x-\frac {\pi }{4}\right |2\right )}{b}-\frac {\sin ^{\frac {3}{2}}(2 a+2 b x) \csc ^2(a+b x)}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2719
Rule 4385
Rubi steps
\begin {align*} \int \csc ^2(a+b x) \sqrt {\sin (2 a+2 b x)} \, dx &=-\frac {\csc ^2(a+b x) \sin ^{\frac {3}{2}}(2 a+2 b x)}{b}-2 \int \sqrt {\sin (2 a+2 b x)} \, dx\\ &=-\frac {2 E\left (\left .a-\frac {\pi }{4}+b x\right |2\right )}{b}-\frac {\csc ^2(a+b x) \sin ^{\frac {3}{2}}(2 a+2 b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 37, normalized size = 0.84 \begin {gather*} -\frac {2 \left (E\left (\left .a-\frac {\pi }{4}+b x\right |2\right )+\cot (a+b x) \sqrt {\sin (2 (a+b x))}\right )}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(175\) vs.
\(2(67)=134\).
time = 10.64, size = 176, normalized size = 4.00
method | result | size |
default | \(\frac {2 \sqrt {\sin \left (2 x b +2 a \right )+1}\, \sqrt {-2 \sin \left (2 x b +2 a \right )+2}\, \sqrt {-\sin \left (2 x b +2 a \right )}\, \EllipticE \left (\sqrt {\sin \left (2 x b +2 a \right )+1}, \frac {\sqrt {2}}{2}\right )-\sqrt {\sin \left (2 x b +2 a \right )+1}\, \sqrt {-2 \sin \left (2 x b +2 a \right )+2}\, \sqrt {-\sin \left (2 x b +2 a \right )}\, \EllipticF \left (\sqrt {\sin \left (2 x b +2 a \right )+1}, \frac {\sqrt {2}}{2}\right )-2 \left (\cos ^{2}\left (2 x b +2 a \right )\right )-2 \cos \left (2 x b +2 a \right )}{\cos \left (2 x b +2 a \right ) \sqrt {\sin \left (2 x b +2 a \right )}\, b}\) | \(176\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\sqrt {\sin \left (2\,a+2\,b\,x\right )}}{{\sin \left (a+b\,x\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________